﻿[assembly: System.Web.UI.WebResource("BM.Tools.WebControls.MForm.Controls.Additions.Actions.CustomAction.js", "application/x-javascript")]
[assembly: System.Web.UI.WebResource("BM.Tools.WebControls.MForm.Controls.Additions.Actions.CustomAction.debug.js", "application/x-javascript")]

namespace BM.Tools.WebControls.MForm.Controls.Additions.Actions
{
    using AjaxControlToolkit;

    /// <summary>
    /// Performs a custom action that is specified using the custom function
    /// </summary>
    [ClientScriptResource("BM.Tools.WebControls.MForm", "BM.Tools.WebControls.MForm.Controls.Additions.Actions.CustomAction.js")]
    public class CustomAction : Action
    {
        /// <summary>
        /// Gets or sets the custom function name that will be fired. This method will get the CustomAction object as a sender.
        /// </summary>
        public string CustomFunction
        {
            get;
            set;
        }
    }
}
